﻿package com.crl.core.config.section.handler
{
	import flash.utils.Dictionary;
	
	/**
	 * ...
	 * @author crl
	 */
	public class NameValueSectionHandler implements IConfigSectionHandler
	{
		private const var defaultKeyAttribute:String = "key";
		private const var defaultValueAttribute:String = "value";
		
		public function NameValueSectionHandler() 
		{
			
		}
		
		public function create(sectionNode:XML):Object {
			
			var keyvalues:Dictionary = new Dictionary();
			
			var localName:String;
			for each(var item:XML in sectionNode.children()) {
				
				localName = item.localName();
				switch(localName) {
					case "add" :
						break;
					case "remove" :
						break;
					case "clear" :
						break;
				}
			}
			
			return keyvalues;
		}
		
	}

}